function allpreShape = AllPreShape(allShape)
[a n N] = size(allShape);
allpreShape = zeros(2,n,N);
for i=1:N
    allpreShape(:,:,i) = getPreShape(allShape(:,:,i));
end
%figure;plotAllShape(allpreShape, N);
